package com.ctyun.xstore.vod.template.model;

import com.ctyun.xstore.vod.AbstractVODRequest;
import com.ctyun.xstore.vod.template.model.TemplateEnums.TemplateTypeEnum;

public class SearchTranscodeTemplateRequest extends AbstractVODRequest {

	private Long templateId;

	private String name; // 可选参数，模板的名称，模糊匹配

	private TemplateTypeEnum type;

	private Boolean favorite;

	private Integer pageSize;

	private Integer pageIndex;

	public SearchTranscodeTemplateRequest() {
		super();
	}

	public Long getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public TemplateTypeEnum getType() {
		return type;
	}

	public void setType(TemplateTypeEnum type) {
		this.type = type;
	}

	public Boolean getFavorite() {
		return favorite;
	}

	public void setFavorite(Boolean favorite) {
		this.favorite = favorite;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(Integer pageIndex) {
		this.pageIndex = pageIndex;
	}

	@Override
	protected String getPath() {
		return "/vod/template/transcode/search";
	}
}
